package com.example.b_308.myapplication.model.base;

import com.example.b_308.myapplication.model.base.BaseModel;

/**
 * Created by B-308 on 2017/11/20.
 */
public class BaseSetting extends BaseModel {

    String id;//考勤设置ID
    String sign_in_time;//签到时间
    String sign_out_time;//签退时间
    String work_day;//工作日
    String longitude;//经度
    String latitude;//维度
    String address;//考勤地址
    String company_id;//公司ID
    String effective_range;//打卡有效半径
    String create_time;//创建时间

    public String getId() {
        if (null == id)
            id = getStr("id");
        return id;
    }

    public String getSign_in_time() {
        if (null == sign_in_time)
            sign_in_time = getStr("sign_in_time");
        return sign_in_time;
    }

    public String getSign_out_time() {
        if (null == sign_out_time)
            sign_out_time = getStr("sign_out_time");
        return sign_out_time;
    }

    public String getWork_day() {
        if (null == work_day)
            work_day = getStr("work_day");
        return work_day;
    }

    public String getLongitude() {
        if (null == longitude)
            longitude = getStr("longitude");
        return longitude;
    }

    public String getLatitude() {
        if (null == latitude)
            latitude = getStr("latitude");
        return latitude;
    }

    public String getAddress() {
        if (null == address)
            address = getStr("address");
        return address;
    }

    public String getCompany_id() {
        if (null == company_id)
            company_id = getStr("company_id");
        return company_id;
    }

    public String getEffective_range() {
        if (null == effective_range)
            effective_range = getStr("effective_range");
        return effective_range;
    }

    public String getCreate_time() {
        if (null == create_time)
            create_time = getStr("create_time");
        return create_time;
    }

    public void setId(String id) {
        this.put("id", id);
        this.id = id;
    }

    public void setSign_in_time(String sign_in_time) {
        this.put("sign_in_time", sign_in_time);
        this.sign_in_time = sign_in_time;
    }

    public void setSign_out_time(String sign_out_time) {
        this.put("sign_out_time", sign_out_time);
        this.sign_out_time = sign_out_time;
    }

    public void setWork_day(String work_day) {
        this.put("work_day", work_day);
        this.work_day = work_day;
    }

    public void setLongitude(String longitude) {
        this.put("longitude", longitude);
        this.longitude = longitude;
    }

    public void setLatitude(String latitude) {
        this.put("latitude", latitude);
        this.latitude = latitude;
    }

    public void setAddress(String address) {
        this.put("address", address);
        this.address = address;
    }

    public void setCompany_id(String company_id) {
        this.put("company_id", company_id);
        this.company_id = company_id;
    }

    public void setEffective_range(String effective_range) {
        this.put("effective_range", effective_range);
        this.effective_range = effective_range;
    }

    public void setCreate_time(String create_time) {
        this.put("create_time", create_time);
        this.create_time = create_time;
    }
}
